package org.imis181.moqilintong.model.binary;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.imis181.moqilintong.model.Calculable01;

/**
 * @author moqilintong
 */
@NoArgsConstructor
@AllArgsConstructor
@Setter
public abstract class AbstractBinaryOperation01 implements Calculable01 {
    /**
     * 参与运算的数
     */
    protected Double oprand1;
    protected Double oprand2;

    /**
     * 打印二目表达式
     * @return
     */
    @Override
    public abstract String toString();
}
